
@import 'custom.scss';
@import '~bootstrap/scss/bootstrap';
@import '~bootstrap-vue/src/index.scss';

@import 'fonts.scss';

html, body{
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: $lens-main-bg;
  color: $lens-text-color;
  font-size: 14px; // font size that is used also on lens UI
  -webkit-font-smoothing: antialiased;
}

body{
  font-family: 'Roboto', sans-serif;
}

pre {
  color: $lens-text-color-light;
}

#app{
  width: 100%;
  height: 100%;
  & > .main-view{
    width: 100%;
    height: 100%;
    & > .content{
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      overflow: hidden;
    }
    &.menu-visible > .content{
      left: 70px;
      bottom: 20px;
    }
  }

  select {
    appearance: none;
    border: 1px solid $lens-pane-bg;
    background-color: $lens-menu-bg;
    color: $lens-text-color-light;
    background-image: url('');
    background-repeat: no-repeat, repeat;
    background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%;
  }
}

.draggable-top{
  -webkit-app-region: drag;
  left: 0;
  top: 0;
  position: absolute;
  height: 20px;
  width: 100%;
}

h1, h2, h3, h4, h5, h6{
  color: #fff;
  font-size: 20.8px;
  font-weight: 300;
}

.table{
  color: $lens-text-color-light;
  th{
    border-top: 1px solid #353a3e;
    font-weight: 300;
    color: $lens-text-color;
  }
  td{
    border-top: 1px solid #353a3e;
  }
  tr:first-child{
    th, td{
      border-top: none;
    }
  }
}

.card{
  background: $lens-pane-bg;
}

.help{
  border-left: 1px solid #353a3e;
  padding-top: 20px;
  &:first-child{
    padding-top: 0;
  }
  h3{
    padding: 0.75rem 0 0.75rem 0;
  }
}

.tooltip-inner {
  font-size: 12px;
}

.editor {
  height: 400px;
  font-size: 12px;
  pre {
    background-color: #1E1E1E;
  }
}

.aligner-center-center{
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wrapper{
  width:100%;
  height:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  .error{

    text-align: center;
    i {
      color: #dc3545;
      font-size: 100px;
    }
  }
}

.btn {
  line-height: 1.3;
}

// Force BS modals to use main app font etc.
.modal-open{
  @extend #app
}

.popover {
  background-color: $lens-menu-hl;

  select {
    appearance: none;
    border: 1px solid $lens-pane-bg;
    background-color: $lens-menu-bg;
    color: $lens-text-color-light;
    background-image: url('');
    background-repeat: no-repeat, repeat;
    background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%;
  }

  .arrow:after {
    border-top-color: $lens-menu-hl;
  }
}
.popover-body {
  color: $lens-text-color;

  li.list-group-item {
    background-color: inherit;
    padding: 0.5rem 0.75rem;

    a {
      color: var(--lens-text-color-light);
    }
  }
}
.popover-header{
  color: $lens-text-color;
  background-color: $lens-main-bg;
  border-bottom: 0px;

  i.material-icons {
    position: relative;
    top: 3px;
    font-size: 16px;
  }
}
